//
//  MoviePlayer.h
//  movie
//
//  Created by MyMac on 15/4/12.
//  Copyright (c) 2015年 MyMac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import <MediaPlayer/MediaPlayer.h>
typedef void(^BackBlock)();
typedef void(^dirtationBlock)();
@interface MoviePlayer : UIView
@property(nonatomic,copy)NSString*playerURL;
@property(nonatomic,strong)AVPlayer*player;
@property(nonatomic,copy)BackBlock backBlock;
@property(nonatomic,copy)dirtationBlock dirBlock;
-(void)addPlayerInformation:(CGRect)frame;
@end
